package com.example.demo2.service;

import com.example.demo2.entity.Course;
import com.example.demo2.entity.User;
import com.example.demo2.mapper.UserMapper;

import java.util.List;

public interface UserService {

    User findByUserId(Integer userId, String userPwd);

    boolean insert_user(User user);
    boolean userExists(String userId);

    List<User> findByUserId_A(Integer userId);

    boolean upDateUserPwd(Integer userId ,String userPwd);

    boolean upDateUserInformation(Integer userId ,String userName,String userEmail,String userBrief);

    List<User> forgetPwd(Integer userId,String userName,String userQuestion);



}
